home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 1999-09-13 | 1.5 KB | 67 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="1"
- "COUNT"="3"
- "UIPATH"="Internet\Instant Messaging\MSN Messenger"
- "NAME"="URL Settings"
- "LANGUAGE"="VBScript"
- "VERSION"="1.05"
- "TEXT 1"="Server URL/Port"
- "TEXT 2"="Socks 4 Server"
- "TEXT 3"="Socks 5 Server"
- "DESCRIPTION 1"="You can use this plug-in to change the options for MSN Messenger."
- "DESCRIPTION 2"="The default value for Server URL is "messenger.hotmail.com;209.185.128.144:1863". "
- "DESCRIPTION 3"="MSN Messenger may be obtained at http://messenger.msn.com/"
- "AUTHOR"="Xteq Systems"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
- "COMMENT 2"="Thanks to CptSiskoX for the settings and the idea."
-
-
-
-
- sPath="HKCU\Software\Microsoft\MessengerService\"
- sV1="Server"
- sV2="SOCKS4Server"
- sV3="SOCKS5Server"
-
- Sub Plugin_Initialize
- if RegPathExists(sPath) then
- s=RegReadValue(sPath & sV1)
- SetUIElement 1,s
-
- s=RegReadValue(sPath & sV2)
- SetUIElement 2,s
-
- s=RegReadValue(sPath & sV3)
- SetUIElement 3,s
-
- else
- Disable
- end if
- End Sub
-
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
-
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue(sPath & sV1,s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue(sPath & sV2,s,1)
-
- s=GetUIElement(3)
- Call RegWriteValue(sPath & sV3,s,1)
-
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-